load("//bzl:cpp_unittest.bzl", "cpp_unittest")

cpp_unittest(
    name = "async_fd_socket_test",
    srcs = ["AsyncFdSocketTest.cpp"],
    target_compatible_with = select({
        # TODO: fails on Mac.
        "@platforms//os:macos": ["@platforms//:incompatible"],
        "//conditions:default": [],
    }),
    deps = [
        "//folly/io/async/fdsock:async_fd_socket",
        "//folly/io/async/test:async_socket_test_lib",
        "//folly/portability:gmock",
        "//folly/portability:gtest",
    ],
)
